﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MvcReservas.Models.Cliente>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Edit
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Actualizacion de Usuarios</h2>

     <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>
        
        <fieldset>
            <legend>Campos</legend>
            

            
           
            <div class="editor-label">
                <%: Html.LabelFor(model => model.dni) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.dni)%>
                <%: Html.ValidationMessageFor(model => model.dni)%>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.nombre)%>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.nombre)%>
                <%: Html.ValidationMessageFor(model => model.nombre)%>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.telefono) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.telefono)%>
                <%: Html.ValidationMessageFor(model => model.telefono)%>
            </div>

             <div class="editor-label">
                <%: Html.LabelFor(model => model.correo) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.correo)%>
                <%: Html.ValidationMessageFor(model => model.correo)%>
            </div>


             <div class="editor-label">
                <%: Html.LabelFor(model => model.cumpleaños) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.cumpleaños)%>
                <%: Html.ValidationMessageFor(model => model.cumpleaños)%>
            </div>
            
            <p>
                <input type="submit" value="Actualizar" />
            </p>
        </fieldset>

    <% } %>

</asp:Content>
